@extends('admin.layouts.index')
@section('title', '系统跳转方式切换')
@section('content')
<div class="row">
    <div class="col-md-12">
        <div class="card">
            <div class="card-body">
                <form class="m-search" method="POST" action="{{ URL::current() }}">
                    <div class="m-search-items">
                        <div class="m-search-item">
                            <label>跳转方式</label>
                            @csrf
                            <select name="redirect_engine">
                                <option value="mini" @if($redirectEngine == "mini") selected @endif>小程序跳转</option>
                                <option value="kefu" @if($redirectEngine == "kefu") selected @endif>企业微信客服跳转</option>
                                <option value="qrcode" @if($redirectEngine == "qrcode") selected @endif>直接展示二维码</option>
                            </select>
                        </div>
                        <div class="m-search-item">
                            <button class="button">立即修改</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
@endsection
